package com.ccn.crm.service.impl;

import com.ccn.crm.mapper.UserMapper;
import com.ccn.crm.model.User;
import com.ccn.crm.service.IUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements IUser {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User selectByName(String name) {
        return userMapper.selectByName(name);
    }

    @Override
    public User selectByAccount(String account) {
        return userMapper.selectByAccount(account);
    }

    @Override
    public void updateQq() {
        userMapper.updateQq();
    }
}
